package zuoye;
import java.util.ArrayList;
import java.util.Random;
public class zuoye7 {
	public static void main(String[] args) {
		ArrayList <Integer > large=new ArrayList<Integer>();
		ArrayList <Integer > small=new ArrayList<Integer>();
		Random r=new Random();
		int a;
		for(int i=0;i<20;i++){
			a=r.nextInt(100);
			large.add(a);
			if(a%2==0){
				small.add(a);
			}
		}
		System.out.println(large);
		System.out.println(small);
	}
}
